package com.tanhua.dubbo.server.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * @Auther: you
 * @Date: 2021/05/28/23:53
 * @Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageInfo<T> implements Serializable {
    private static final long serialVersionUID = -4296017160071130962L;

    //总数据条数
    private Integer total;
    //当前第几页
    private Integer pageNum;
    //当前页数据条数
    private Integer pageSize;
    //返回的数据列表
    private List<T> records= Collections.emptyList();



}
